import Vue from 'vue'
import App from './App.vue'
import store from './store'
// import { createApp } from 'vue'
import MessageBox from './components/MessageBox.vue'

Vue.config.productionTip = false

new Vue({
  store,
  render: (h) => h(App),
}).$mount('#app')

// createApp(App).use(store).mount('#app')

const div = document.createElement('div')
document.getElementById('app1').appendChild(div)
console.log(document.getElementById('app'))
new Vue({
  render: (h) => h(MessageBox),
}).$mount(div)
